using System;
using System.Collections;
using System.Collections.Generic;

namespace DJY.Domain.ViewModel
{
    public class WorkFlowDef
    {
        /// <summary>
        /// ID
        /// </summary>
        /// <value></value>
        public string id{
            get;
            set;
        }

        /// <summary>
        /// 单位ID
        /// </summary>
        public string orgId { 
            get; 
            set; 
        }

        /// <summary>
        /// 分类列表中，当前显示类型，属性结构中(1分类，2定义基本信息，3，流程版本信息)
        /// </summary>
        public int type { 
            get; 
            set; 
        }

        /// <summary>
        /// 分类ID
        /// </summary>
    	public int cateId
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 分类名称
        /// </summary>
        /// <value></value>
        public string cateName
        {
            get;
            set;
        }

        /// <summary>
        /// 名称
        /// </summary>
    	public string name
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 备注
        /// </summary>
    	public string remark
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 最新版本
        /// </summary>
    	public int version
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 稳定版本号
        /// </summary>
    	public int stableVersion
        {
            get;
            set;
        }

        /// <summary>
        /// 删除标记
        /// </summary>
    	public bool deleteMark
        {
            get;
            set;
        }

        /// <summary>
        /// 新增时间
        /// </summary>
        public string createTime
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 新增人
        /// </summary>
    	public string createUser
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 新增人名称
        /// </summary>
    	public string createUserName
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 最后更新人
        /// </summary>
    	public string lastUpdateUser
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public string lastUpdateTime
        {
            get;
            set;
        }

        /// <summary>
        /// 最后更新人名称
        /// </summary>
    	public string lastUpdateUserName
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 业务页面
        /// </summary>
    	public string businessUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 审核页面
        /// </summary>
    	public string auditUrl
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 业务模型
        /// </summary>
    	public string modelKey
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 业务模型
        /// </summary>
    	public string size
        {
            get;
            set;
        }

        /// <summary>
        /// 工作流节点
        /// </summary>
        public List<WorkFlowNode> nodes {get;set;}

        /// <summary>
        /// 工作流节点连接
        /// </summary>
        public List<WorkFlowNodeLink> nodeLinks { get; set; }

        /// <summary>
        /// 开始事件
        /// </summary>
    	public string before
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 结束时间
        /// </summary>
    	public string after
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 忽略事件
        /// </summary>
    	public string skipEvent
        {
            get;
            set;
        }
    }
}